Esx Settings Clusters Vms LifecycleHooks DynamicUpdateSpec
The Esx Settings Clusters Vms LifecycleHooks DynamicUpdateSpec schema contains properties to describe a System VM desired state to be applied dynamically by vLCM.
Can be used only with Solutions that has Esx Settings Clusters Vms ClusterSolutionSpec.
This schema was added in vSphere API 9.1.0.0.
{
"vm": "string",
"solution": "string",
"lifecycle_state": "string",
"alternative_vm_spec": {
"selection_criteria": {
"selection_type": "string",
"extra_config_value": "string"
},
"devices": {}
}
}
Identifier of the VM whose Esx Settings Clusters Vms LifecycleState hook needs a dynamic update to be processed.
This property was added in vSphere API 9.1.0.0.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: VirtualMachine. When operations return a value of this schema as a response, the property will be an identifier for the resource type: VirtualMachine.
Identifier of the Solution whose Esx Settings Clusters Vms LifecycleState hook needs a dynamic update to be processed.
This property was added in vSphere API 9.1.0.0.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.esx.settings.vms.SystemVmSolution. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.esx.settings.vms.SystemVmSolution.
Expected lifecycle state of the VM specified by the {#member vm} whose hook needs a dynamic update to be processed.
For more information see: Esx Settings Clusters Vms LifecycleState.
This property was added in vSphere API 9.1.0.0.
Alternative VM spec to be applied to the given {#member vm} while in the given {member# lifecycleState}.
If the provided {member# alternativeVmSpec} is not present in the solution desired state specification (i.e. extraConfigValue is not present in @link ClusterSolutionSpec#alternativeVmSpecs}), vLCM will add the {member# alternativeVmSpec} to the Esx Settings Clusters Vms ClusterSolutionSpec.alternative_vm_specs.
If the provided {member# alternativeVmSpec} already exists in the solution desired state specification (i.e. extraConfigValue is present in @link ClusterSolutionSpec#alternativeVmSpecs}), the {#member alternativeVmSpec} is overridden in the Esx Settings Clusters Vms ClusterSolutionSpec.alternative_vm_specs.
This property was added in vSphere API 9.1.0.0.
If missing or null no Esx Settings Clusters Vms AlternativeVmSpec will be applied for the {member# vm} and the Esx Settings Clusters Vms ClusterSolutionSpec.alternative_vm_specs will be unchanged.